package com.baba.vote.dao;
import org.apache.ibatis.annotations.Param;

import com.baba.vote.pojo.VoteItem;

/**
 * @author moxinHuoHuo
 * @create 2020/4/8 下午4:12
 */
public interface VoteItemMapper {
  int deleteByPrimaryKey(Integer id);

  int insert(VoteItem record);

  int insertSelective(VoteItem record);

  VoteItem selectByPrimaryKey(Integer id);

  int updateByPrimaryKeySelective(VoteItem record);

  int updateByPrimaryKey(VoteItem record);

  int deleteByVoteActId(@Param("voteActId")Integer voteActId);

  Integer countByIdAndVoteActId(@Param("id")Integer id,@Param("voteActId")Integer voteActId);


}